package manager.utility;
public class StaticFields {

	public final static byte YES_PAR=0;
	public final static byte NO_PAR=1;
	public final static char YES='0';
	public final static char NO='1';
	public final static byte INB=0;
	public final static byte OUTB=1;
	public final static char INBOUND='0';
	public final static char OUTBOUND='1';

	public final static int DIR_B=1;
	public final static int SIZE_B=4;
	public final static int TIME_B=8;
	public final static int SEQ_NUM_B=8;
	public final static int SESS_B=32;
	public final static int[] KEY_ELEM = {	DIR_B,
											SIZE_B,
											TIME_B,
											SEQ_NUM_B,
											SESS_B};
	public final static int KEY_SIZE=		DIR_B		+
											SIZE_B		+
											TIME_B		+
											SEQ_NUM_B	+
											SESS_B;
	
	public final static int USER_LEN_B=4;
	public final static int PASS_LEN_B = 4;
	public final static int OPER_LEN_B=4;
	public final static int WS_NAME_LEN_B=4;
	public final static int NS_LEN_B=4;
	public final static int WSDL_URL_LEN_B=4;
	public final static int[] CONTENT_ELEM = {	USER_LEN_B,
												PASS_LEN_B, 
												OPER_LEN_B,
												WS_NAME_LEN_B, 
												NS_LEN_B, 
												WSDL_URL_LEN_B};

	public final static int CONTENT_MIN_SIZE = 	USER_LEN_B 		+
												1 				+
												PASS_LEN_B 		+
												1 				+
												OPER_LEN_B 		+ 
												1 				+
												WS_NAME_LEN_B	+
												1				+
												NS_LEN_B 		+
												1				+
												WSDL_URL_LEN_B;
	
	public final static int NUM_PAR_B=4;
	
	public final static int UDP_PORT = 9876;
	public final static int UDP_PACK_SIZE = 1024;
}
